'use strict';

const editRule = {
  order_no: {
    type: 'string',
    required: true,
    min: 1
  },
  user_id: {
    type: 'int',
    required: true,
    min: 1
  },
  price: {
    type: 'int',
    required: false,
    min: 0
  },
  count: {
    type: 'int',
    required: false,
    min: 1
  },
  total_amount: {
    type: 'double',
    required: false,
    min: 1
  },
  payment: {
    type: 'int',
    required: true,
    min: 1
  },
  status: {
    type: 'int',
    required: true,
    min: 0
  }
}


module.exports = {
  editRule,
};
